﻿@model GameViewModel.GameOptions

@{
    ViewBag.Title = "Настройки";
}

@Html.ValidationSummary()

<div>
    @Html.EditorFor(x => x.Persons, "Persons")
</div>

@{
    var htmlAttributes = new
    {
        data_url = Url.Action("IsRandomOrderChecked", "Home"),
        itemId = "isRandomOrderCheckBox"
    };
}
<label>@Html.CheckBox("isRandomOrderCheckBox", @Model.IsRandomOrder, htmlAttributes)@Html.DisplayNameFor(m => m.IsRandomOrder)</label>

<ul data-role="listview" data-inset="true">
    <li data-role="list-divider">Меню</li>
    <li>@Html.ActionLink("Главная", "Index", "Home")</li>
    <li>@Html.ActionLink("Начать", "Index", "Game")</li>
    <li>@Html.ActionLink("О демиурге", "Contact", "Home")</li>
</ul>

@section footer_scripts
{
    <script type="text/javascript" src="@Url.Content("/Scripts/setup.js")"></script>
}